using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WebApp.BLL
{



    /// <summary>
    /// 常用
    /// </summary>
    [Flags]
    public enum EnumCharFlag
    {
        Number = 1,
        Character = 2,
        SpecialCharacter = 8
    }

    public enum enmUserType
    {
        administrator,
        member
    }

    /// <summary>
    /// 性别
    /// </summary>
    public enum enmGender
    {
        男 = 1,
        女 = 2
    }

    public enum enmIslocked
    {
        启用 = 0,
        停用 = 1
    }

    /// <summary>
    /// 菜单类别
    /// </summary>
    public enum enmMenuKind
    {
        模块 = 0,
        菜单 = 1,
        功能 = 2
    }

    /// <summary>
    /// 菜单状态
    /// </summary>
    public enum enmMenuStatus
    {
        Normal = 0,
        Hidden = 1,
        Locked = 9
    }

    /// <summary>
    /// 菜单区分
    /// </summary>
    public enum enmMenuSystemtype
    {
        Customer = 0,
        Manage = 1
    }

    /// <summary>
    /// 用户登录结果
    /// </summary>
    public enum UserLoginResults : int
    {
        /// <summary>
        /// 登录成功
        /// </summary>
        Successful = 1,
        /// <summary>
        /// 帐户不存在
        /// </summary>
        UserNotExist = 2,
        /// <summary>
        /// 密码错误
        /// </summary>
        WrongPassword = 3,
        /// <summary>
        /// 帐户未激活
        /// </summary>
        NotActive = 4,
        /// <summary>
        /// 帐户已冻结
        /// </summary>
        Deleted = 5,
        /// <summary>
        /// 验证码错误
        /// </summary>
        ValidateCodeError = 6

    }

    /// <summary>
    /// 登录操作
    /// </summary>
    public enum enmOprtType
    {
        注册 = 0,
        登陆成功 = 1,
        修改密码 = 2,
        登出 = 3,
        登陆失败 = 4,
        锁定 = 5,
        解锁 = 6,
        找回密码 = 7,
        重置密码 = 8,
        重新登录 = 9,
        APP登录 = 10,
        删除账号 = 11
    }

    /// <summary>
    /// 部门类别
    /// </summary>
    public enum enmDeptType
    {
        /// <summary>
        /// 机关科室
        /// </summary>
        Manager,
        /// <summary>
        /// 车间部门
        /// </summary>
        Worker
    }

    /// <summary>
    /// 测评状态
    /// </summary>
    public enum enmEvalStatus
    {
        进行中 = 0,
        已结束 = 9
    }

    /// <summary>
    /// 测评结果提交状态
    /// </summary>
    public enum enmEvalResultStatus
    {
        未提交 = 0,
        已提交 = 1
    }

}
